﻿@model Alumnos.Controllers.ReigstroFormData
@{
    ViewBag.Title = "Crear un usuario";
}

<h2>Add</h2>
<form method="post">
    <div>
        @Html.LabelFor(x => x.Username)
        @Html.TextBoxFor(x => x.Username)
        @Html.ValidationMessageFor(x => x.Username)
     </div>
    <div>
        @Html.LabelFor(x => x.RealName)
        @Html.TextBoxFor(x => x.RealName)
        @Html.ValidationMessageFor(x => x.RealName)
     </div>
    <div>
        @Html.LabelFor(x => x.Mail)
        @Html.TextBoxFor(x => x.Mail)
        @Html.ValidationMessageFor(x => x.Mail)
     </div>
    <div>
        @Html.LabelFor(x => x.Password)
        @Html.PasswordFor(x => x.Password)
        @Html.ValidationMessageFor(x => x.Password)
     </div>
    <div>
        @Html.LabelFor(x => x.ConfirmPassword)
        @Html.PasswordFor(x => x.ConfirmPassword)
        @Html.ValidationMessageFor(x => x.ConfirmPassword)
     </div>

    <input type="submit" value="Crear usuario" />
</form>